# -*- coding: utf-8 -*-
from pycube.core.sql.model import column
from pycube.core.sql.types import *
'''
Created on 23.09.2009

@author: varg
'''
def __init__( psql ):
    psql.register( 'permission', ( 
               column( 'id', int4, autoSequence=True, primary_key=True, notnull=True, autoIndex=True ),
               column( 'value', varchar( 100 ), notnull=True ),
               column( 'name', varchar( 100 ), notnull=True ),
               column( 'desctiption', text ),

        ) )
